#ifndef MENUBOX_H
#define MENUBOX_H
/*---------------------------------------------------------------------------*/
#include <QWidget>
#include <QtGui>
#include "BrowserBox.h"
/*---------------------------------------------------------------------------*/
using namespace std;
/*---------------------------------------------------------------------------*/

/*---------------------------------------------------------------------------*/
class MenuBox : public QHBoxLayout
{
	Q_OBJECT

	public:

						MenuBox(BrowserBox *flw);
						~MenuBox();
	
	void				setAddressBar(const char *path);

	
	
	private:
	
	

	BrowserBox		*flw;
	
	QPushButton			*buttonHome;
	QPushButton			*buttonTerminal;
	QPushButton			*buttonRefresh;
	QPushButton			*buttonUp;
	
	QLineEdit			*addressBar;
	QPushButton 		*buttonOptions;

	QMenu				menuOptions;	
		



	
	private slots:
	
	
	void				toggleHidden(bool checked);
	void				toggleSwapFiles(bool checked);
	void				editConfig(bool checked);
	
	void 				buttonHomeClicked();
	void				buttonTerminalClicked();
	void				buttonRefreshClicked();
	void 				buttonUpClicked();
	
	void				returnPressed();

};
/*---------------------------------------------------------------------------*/
#endif
